package com.quanyan.place.entity.apiresp;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by yuanxuebing on 16-10-21.
 * 这里是“抽象的”订单，包括了普通订单， 会员订单
 */
public class SettleOrder implements Serializable {
    @NotNull
    private Integer orderId;

    private String orderNo;

    private Byte orderType;   // 订单类型：1 普通订单， 2 会员订单

    private Byte orderStatus;      // 支付状态

    private Date paymentTime;      // 支付时间

    private BigDecimal payAmount;  // 支付金额

    private  Byte cashStatus;         // 结算状态

    private  Byte refundCashStatus;   // 退款结算状态

    private BigDecimal debit;   // 收入

    private BigDecimal credit;  // 支出

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Byte getOrderType() {
        return orderType;
    }

    public void setOrderType(Byte orderType) {
        this.orderType = orderType;
    }

    public Byte getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Byte orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Byte getCashStatus() {
        return cashStatus;
    }

    public void setCashStatus(Byte cashStatus) {
        this.cashStatus = cashStatus;
    }

    public Byte getRefundCashStatus() {
        return refundCashStatus;
    }

    public void setRefundCashStatus(Byte refundCashStatus) {
        this.refundCashStatus = refundCashStatus;
    }

    public BigDecimal getDebit() {
        return debit;
    }

    public void setDebit(BigDecimal debit) {
        this.debit = debit;
    }

    public BigDecimal getCredit() {
        return credit;
    }

    public void setCredit(BigDecimal credit) {
        this.credit = credit;
    }
}
